package com.example.demo.util;

import java.io.Serializable;

/**
 * 接口统一请求参数
 */
public class RequestDto implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *  合作方id
     */
    private String partner;

    /**
     * 随机密钥
     */
    private String key;

    /**
     * 加密后的参数
     */
    private String content;

    /**
     * 请求时间戳（秒）
     */
    private Long timestamp;

    /**
     * 数据签名
     */
    private String sign;

    /**
     * 报文流水号
     */
    private String mesgId;
    
    /**
     * 明文
     */
    private String data;

    public String getPartner() {
        return partner;
    }

    public void setPartner(String partner) {
        this.partner = partner;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getMesgId() {
        return mesgId;
    }

    public void setMesgId(String mesgId) {
        this.mesgId = mesgId;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
